package com.example.springbooteasyexcel.util;

import com.example.springbooteasyexcel.bean.MenuExcel;

import java.util.ArrayList;
import java.util.List;

public class GeneralUtils {

    public static List genList(){
        List<MenuExcel> list = new ArrayList<>();
        MenuExcel excel = new MenuExcel();
        excel.setMenuId("1");
        excel.setMenuLevel("1");
        excel.setMenuName("营销日志");
        list.add(excel);
        MenuExcel excel1 = new MenuExcel();
        excel1.setMenuId("2");
        excel1.setMenuLevel("2");
        excel1.setMenuName("移动报表");
        list.add(excel1);
        MenuExcel excel2 = new MenuExcel();
        excel2.setMenuId("3");
        excel2.setMenuLevel("3");
        excel2.setMenuName("预发布报表");
        list.add(excel2);
        return list;
    }
}
